package com.zhima.panel;

import javax.swing.*;
import java.awt.*;

/**
 * @author : 芝麻
 * @date : 2023-08-05 13:27
 **/
public class ShowCodePanel extends JPanel {
    private final JTextArea codeJTextArea;

    public ShowCodePanel() {
        setLayout(new BorderLayout());
        this.codeJTextArea = new JTextArea("请输入代码", 16, 40);
        add(new JScrollPane(codeJTextArea), BorderLayout.CENTER);
    }

    public JTextArea getCodeJTextArea() {
        return codeJTextArea;
    }
}
